<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form method="post" action="httpServletHead">
        <input type="text" name="username"> <br>
        <input type="password" name="password"> <br>
        爱好：
        <input type="checkbox" name="hobby" value="1"> 篮球
        <input type="checkbox" name="hobby" value="2"> 排球
        <input type="checkbox" name="hobby" value="3"> 乒乓球
        <input type="checkbox" name="hobby" value="4"> 铅球 <br>

        <input type="submit" >
    </form>


</body>
</html>